package com.allwees.bs.core.model.order.wf.refund;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.allwees.core.wf.Action;

/**
 * 退货相关动作
 *
 * @author yangylsky
 * @since 2019-09-17
 *
 */
public enum ERefundAction implements Action, IEnum<String> {
	//USER ACTION
	USER_REQUEST_REFUND,

	USER_CANCEL_REFUND,

	/**
	 * 再限定时间段退货
	 */
	USER_REQUEST_REFUND_ON_LIMIT,

	/**
	 * 准备期内商家取消发货
	 */
	RETAILER_CANCEL_SHIPPED_ON_LIMIT,

	/**
	 * 准备期外商家取消发货
	 */
	RETAILER_CANCEL_SHIPPED_AFTER_LIMIT,

	/**
	 * 平台取消发货
	 */
	PLATFORM_CANCEL_SHIPPED,
	USER_SHIPPED,
	//end of USER ACTION

	//PLATFORM ACTION
	PLATFORM_AUDIT_REFUND_ACCEPT,

	PLATFORM_AUDIT_REFUND_REJECT;
	//end of PLATFORM ACTION

	@Override
	public String getValue() {
		return name();
	}
}
